package org.xxmi.cors.web;

import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.xxmi.cors.model.task.TaskParams;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/deployment/task")
public class Task {

    @PostMapping("/addTask")
    public Map upload3(TaskParams taskParams, HttpServletRequest request) {
        System.out.println(taskParams.toString());
        Map result = new HashMap();
        return result;
    }
}
